public class Logger {
    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    private int num=0;
    public void log(String id) {
        num++;
    }
}
